home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 …ember: Reference Library / Dev.CD Dec 00 RL Disk 1.toast / pc / technical documentation / develop / develop issue 18 / develop issue 18 code / apple guide sample.sea / Apple Guide Sample / AGFile / About AGFile next >
MacBinary  |  1994-04-01  |  1.8 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Fri Apr 1 17:47:46 1994, modified Fri Apr 1 17:47:46 1994, creator 'MPS ', type ASCII, 1013 bytes "About AGFile" , at 0x475 576 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 41 62 6f 75 74 20 | 41 47 46 69 6c 65 00 00 |..About |AGFile..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 03 f5 00 | 00 02 40 a9 c2 55 12 a9 |........|..@..U..|
|00000060| c2 55 12 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.U......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 37 94 00 00 |........|....7...|
|00000080| 23 20 43 6f 70 79 72 69 | 67 68 74 20 a9 31 39 39 |# Copyri|ght .199|
|00000090| 34 20 41 70 70 6c 65 20 | 43 6f 6d 70 75 74 65 72 |4 Apple |Computer|
|000000a0| 2c 20 49 6e 63 2e 20 41 | 6c 6c 20 72 69 67 68 74 |, Inc. A|ll right|
|000000b0| 73 20 72 65 73 65 72 76 | 65 64 2e 0d 23 20 41 75 |s reserv|ed..# Au|
|000000c0| 74 68 6f 72 3a 20 4a 6f | 68 6e 20 52 2e 20 50 6f |thor: Jo|hn R. Po|
|000000d0| 77 65 72 73 2c 20 49 49 | 49 0d 23 20 44 61 74 65 |wers, II|I.# Date|
|000000e0| 3a 20 20 20 32 33 2d 4d | 61 72 2d 39 34 0d 0d 41 |: 23-M|ar-94..A|
|000000f0| 47 46 69 6c 65 20 69 73 | 20 61 20 43 20 6c 69 62 |GFile is| a C lib|
|00000100| 72 61 72 79 20 66 6f 72 | 20 61 63 63 65 73 73 69 |rary for| accessi|
|00000110| 6e 67 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |ng infor|mation a|
|00000120| 62 6f 75 74 20 67 75 69 | 64 65 20 64 61 74 61 62 |bout gui|de datab|
|00000130| 61 73 65 73 2e 0d 49 74 | 20 64 6f 65 73 20 6e 6f |ases..It| does no|
|00000140| 74 20 75 73 65 20 6f 72 | 20 72 65 71 75 69 72 65 |t use or| require|
|00000150| 20 74 68 65 20 41 70 70 | 6c 65 20 47 75 69 64 65 | the App|le Guide|
|00000160| 20 65 78 74 65 6e 73 69 | 6f 6e 2e 0d 0d 41 20 67 | extensi|on...A g|
|00000170| 75 69 64 65 20 64 61 74 | 61 62 61 73 65 20 6d 61 |uide dat|abase ma|
|00000180| 79 20 68 61 76 65 20 61 | 6e 79 20 63 72 65 61 74 |y have a|ny creat|
|00000190| 6f 72 2c 20 62 75 74 20 | 74 68 65 20 66 69 6c 65 |or, but |the file|
|000001a0| 20 74 79 70 65 0d 6d 75 | 73 74 20 62 65 20 6b 41 | type.mu|st be kA|
|000001b0| 47 46 69 6c 65 4d 61 69 | 6e 20 6f 72 20 6b 41 47 |GFileMai|n or kAG|
|000001c0| 46 69 6c 65 4d 69 78 69 | 6e 2e 0d 0d 49 74 20 70 |FileMixi|n...It p|
|000001d0| 72 6f 76 69 64 65 73 20 | 74 68 65 20 66 6f 6c 6c |rovides |the foll|
|000001e0| 6f 77 69 6e 67 20 73 65 | 72 76 69 63 65 73 3a 0d |owing se|rvices:.|
|000001f0| 0d 47 69 76 65 6e 20 61 | 20 64 69 72 65 63 74 6f |.Given a| directo|
|00000200| 72 79 2c 20 63 6f 75 6e | 74 20 74 68 65 20 67 75 |ry, coun|t the gu|
|00000210| 69 64 65 20 64 61 74 61 | 62 61 73 65 73 20 6f 66 |ide data|bases of|
|00000220| 20 61 20 0d 70 61 72 74 | 69 63 75 6c 61 72 20 64 | a .part|icular d|
|00000230| 61 74 61 62 61 73 65 20 | 74 79 70 65 20 61 6e 64 |atabase |type and|
|00000240| 20 6d 61 69 6e 2f 6d 69 | 78 69 6e 20 63 6f 6d 62 | main/mi|xin comb|
|00000250| 69 6e 61 74 69 6f 6e 2e | 0d 0d 47 69 76 65 6e 20 |ination.|..Given |
|00000260| 61 20 64 69 72 65 63 74 | 6f 72 79 2c 20 72 65 74 |a direct|ory, ret|
|00000270| 75 72 6e 20 74 68 65 20 | 46 53 53 70 65 63 20 66 |urn the |FSSpec f|
|00000280| 6f 72 20 74 68 65 20 69 | 2d 74 68 0d 67 75 69 64 |or the i|-th.guid|
|00000290| 65 20 64 61 74 61 62 61 | 73 65 20 6f 66 20 61 20 |e databa|se of a |
|000002a0| 70 61 72 74 69 63 75 6c | 61 72 20 64 61 74 61 62 |particul|ar datab|
|000002b0| 61 73 65 20 74 79 70 65 | 20 61 6e 64 20 6d 61 69 |ase type| and mai|
|000002c0| 6e 2f 6d 69 78 69 6e 20 | 63 6f 6d 62 69 6e 61 74 |n/mixin |combinat|
|000002d0| 69 6f 6e 2e 0d 0d 47 69 | 76 65 6e 20 61 6e 20 46 |ion...Gi|ven an F|
|000002e0| 53 53 70 65 63 2c 20 72 | 65 74 75 72 6e 20 74 68 |SSpec, r|eturn th|
|000002f0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 69 6e 66 6f |e follow|ing info|
|00000300| 72 6d 61 74 69 6f 6e 3a | 0d 0d a5 20 54 68 65 20 |rmation:|... The |
|00000310| 64 61 74 61 62 61 73 65 | 20 74 79 70 65 20 28 48 |database| type (H|
|00000320| 65 6c 70 2c 20 54 75 74 | 6f 72 69 61 6c 2c 20 4f |elp, Tut|orial, O|
|00000330| 74 68 65 72 2c 20 65 74 | 63 2e 29 0d a5 20 4d 65 |ther, et|c.).. Me|
|00000340| 6e 75 20 69 74 65 6d 20 | 6e 61 6d 65 0d a5 20 44 |nu item |name.. D|
|00000350| 61 74 61 62 61 73 65 20 | 73 6f 66 74 77 61 72 65 |atabase |software|
|00000360| 20 76 65 72 73 69 6f 6e | 0d a5 20 54 68 65 20 6e | version|.. The n|
|00000370| 75 6d 62 65 72 20 6f 66 | 20 73 65 6c 65 63 74 6f |umber of| selecto|
|00000380| 72 73 0d a5 20 54 68 65 | 20 69 2d 74 68 20 73 65 |rs.. The| i-th se|
|00000390| 6c 65 63 74 6f 72 20 61 | 6e 64 20 76 61 6c 75 65 |lector a|nd value|
|000003a0| 0d a5 20 57 68 65 74 68 | 65 72 20 6f 72 20 6e 6f |.. Wheth|er or no|
|000003b0| 74 20 74 68 65 20 64 61 | 74 61 62 61 73 65 20 69 |t the da|tabase i|
|000003c0| 73 20 61 20 4d 69 78 69 | 6e 20 64 61 74 61 62 61 |s a Mixi|n databa|
|000003d0| 73 65 0d a5 20 54 68 65 | 20 48 65 6c 70 20 6d 65 |se.. The| Help me|
|000003e0| 6e 75 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 63 |nu appli|cation c|
|000003f0| 72 65 61 74 6f 72 20 73 | 65 6c 65 63 74 6f 72 0d |reator s|elector.|
|00000400| a5 20 54 68 65 20 6d 69 | 78 69 6e 2d 6d 61 74 63 |. The mi|xin-matc|
|00000410| 68 20 73 65 6c 65 63 74 | 6f 72 0d a5 20 54 68 65 |h select|or.. The|
|00000420| 20 48 65 6c 70 20 6d 65 | 6e 75 20 69 74 65 6d 20 | Help me|nu item |
|00000430| 62 61 6c 6c 6f 6f 6e 20 | 74 65 78 74 0d 0d 54 6f |balloon |text..To|
|00000440| 20 75 73 65 2c 20 62 75 | 69 6c 64 20 41 47 46 69 | use, bu|ild AGFi|
|00000450| 6c 65 4c 69 62 20 61 6e | 64 20 6c 69 6e 6b 20 69 |leLib an|d link i|
|00000460| 6e 74 6f 20 79 6f 75 72 | 20 61 70 70 6c 69 63 61 |nto your| applica|
|00000470| 74 69 6f 6e 2e 00 00 00 | 00 00 00 00 00 00 00 00 |tion....|........|
|00000480| 00 00 01 00 00 00 01 e4 | 00 00 00 e4 00 00 00 5c |........|.......\|
|00000490| 34 20 41 70 70 6c 65 20 | 43 6f 6d 70 75 74 65 72 |4 Apple |Computer|
|000004a0| 2c 20 49 6e 63 2e 20 41 | 6c 6c 20 72 69 67 68 74 |, Inc. A|ll right|
|000004b0| 0c 41 62 6f 75 74 20 41 | 47 46 69 6c 65 b5 02 00 |.About A|GFile...|
|000004c0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 ff ff ff ff |..TEXTMP|S ......|
|000004d0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 ff ff ff ff |..TEXTMP|S ......|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 a9 69 be e4 00 00 | 03 f5 00 00 02 40 3d 3d |...i....|.....@==|
|00000500| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 09 41 48 46 |========|====.AHF|
|00000510| 69 6c 65 4c 69 62 20 4d | 61 6b 65 66 69 6c 65 09 |ileLib M|akefile.|
|00000520| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000530| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0d 0d 23 20 54 |========|===..# T|
|00000540| 68 69 73 20 62 75 69 6c | 64 73 20 74 68 65 20 41 |his buil|ds the A|
|00000550| 48 46 69 6c 65 4c 69 62 | 20 6c 69 62 72 61 72 79 |HFileLib| library|
|00000560| 2e 20 0d 23 20 49 74 20 | 64 6f 65 73 20 72 65 71 |. .# It |does req|
|00000570| 75 69 72 65 20 74 68 65 | 20 41 70 70 6c 65 48 65 |uire the| AppleHe|
|00000580| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 64 2e 0d |...H..Mo|naco.d..|
|00000590| 23 20 41 75 74 68 6f 72 | 3a 20 4a 6f 68 6e 20 52 |# Author|: John R|
|000005a0| 2e 20 50 6f 77 65 00 06 | 00 04 ff 29 fd a2 01 f8 |. Powe..|...)....|
|000005b0| ff d1 ff 1e fc f2 01 ed | ff 21 a9 b6 3c b5 00 00 |........|.!..<...|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 1e |........|........|
|000005d0| ff 29 fd a2 01 f8 ff d1 | ff 1e fc f2 01 ed ff 21 |.)......|.......!|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 72 6b b7 28 da 3f e5 | 32 30 00 04 00 00 00 00 |.rk.(.?.|20......|
|00000600| 00 00 00 00 a9 bc 49 71 | a9 b6 3c b5 a9 92 a6 18 |......Iq|..<.....|
|00000610| 00 20 7f 6d 00 01 00 01 | 00 02 07 41 47 46 69 6c |. .m....|...AGFil|
|00000620| 65 ba 00 04 4a 6f 68 6e | 00 01 32 00 0c 41 62 6f |e...John|..2..Abo|
|00000630| 75 74 20 41 47 46 69 6c | 65 00 25 41 64 64 20 61 |ut AGFil|e.%Add a|
|00000640| 63 63 65 73 73 20 74 6f | 20 6e 65 77 20 64 61 74 |ccess to| new dat|
|00000650| 61 20 68 65 61 64 65 72 | 20 76 61 6c 75 65 73 2e |a header| values.|
|00000660| 00 00 00 00 00 00 01 00 | 00 00 01 e4 00 00 00 e4 |........|........|
|00000670| 00 00 00 5c 01 9f 63 f8 | 21 ca 00 00 00 1c 00 52 |...\..c.|!......R|
|00000680| 00 01 4d 50 53 52 00 01 | 00 12 63 6b 69 64 00 00 |..MPSR..|..ckid..|
|00000690| 00 2a 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |.*......|........|
|000006a0| ff ff 00 00 00 4c 00 00 | 00 00 00 80 00 00 00 00 |.....L..|........|
|000006b0| 00 6e 01 a1 bb f0 09 50 | 72 6f 6a 65 63 74 6f 72 |.n.....P|rojector|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+